package com.vca.common.response.sf;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PrintFile对象", description="电子面单详细数据对象")
public class PrintFile implements Serializable {
    private static final long serialVersionUID = -6381341216363608557L;

    @ApiModelProperty(value = "pdf文件的url下载地址,使用 GET 协议")
    private String url;

    @ApiModelProperty(value = "下载文件时需要的token,设置在请求头的 X-Auth-token 字段，有效期 24h")
    private String token;

    @ApiModelProperty(value = "顺丰运单号（子母单为子单号）")
    private String 	waybillNo;

    @ApiModelProperty(value = "面单序号（批量打印场景，为documents的序号")
    private Integer seqNo;

    @ApiModelProperty(value = "联编号（大客户面单为固定值：1）")
    private Integer areaNo;

    @ApiModelProperty(value = "每联的页号(大客户面单为固定值：1")
    private Integer pageNo;
}
